<pro-header></pro-header>
<nz-card>
    <ng-template #title>
        类型管理
    </ng-template>

    <ng-template #body>
        <form nz-form [formGroup]="layForm"
              (ngSubmit)="save()">

            <div nz-form-item nz-row>

                <div nz-form-label nz-col [nzSpan]="6">
                    <label for="title" nz-form-item-required>类型名称</label>
                </div>

                <div nz-col [nzSpan]="12" id="title">
                    <nz-input [nzPlaceHolder]="'类型名称'" formControlName="title"></nz-input>
                </div>
            </div>



            <div nz-form-item nz-row>

                <div nz-form-label nz-col [nzSpan]="6">
                    <label for="count" nz-form-item-required>订阅数量</label>
                </div>

                <div nz-col [nzSpan]="12" id="count">
                    <nz-input [nzPlaceHolder]="'订阅数量'" formControlName="count"></nz-input>
                </div>
            </div>

            <div nz-form-item nz-row>

                <div nz-form-label nz-col [nzSpan]="6">
                    <!--<label  nz-form-item-required>操作</label>-->
                </div>

                <div nz-col [nzSpan]="12" >
                   <button nz-button [nzType]="'primary'" [disabled]="!layForm.valid">保存</button>
                </div>
            </div>


        </form>
    </ng-template>
</nz-card>
